.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaBase.AccessUtils Class Reference

Provides utilities which change the access rights for system objects. More...

Static Public Member Functions

static IList< AccessRuleGetAccessRules (string filePath)
 Gets the application access rules implied by the access rights to the file. More...
 
static void SetAccessRules (String filePath, IList< AccessRule > accessRules, bool replaceExisting)
 Gets the application access rules implied by the access rights to the file. More...
 
static AccessRight GetAccessRights (AccessControlType accessType, FileSystemRights accessRights)
 Returns the application rights implied by the file system rights. More...
 
static string SidToAccountName (string sid)
 Converts a SID to a user account name. More...
 
static string AccountNameToSid (string accountName)
 Converts a user account name to a SID. More...
 

Detailed Description

Provides utilities which change the access rights for system objects.

Member Function Documentation

static string UnifiedAutomation.UaBase.AccessUtils.AccountNameToSid ( string  accountName)
inlinestatic

Converts a user account name to a SID.

static AccessRight UnifiedAutomation.UaBase.AccessUtils.GetAccessRights ( AccessControlType  accessType,
FileSystemRights  accessRights 
)
inlinestatic

Returns the application rights implied by the file system rights.

static IList<AccessRule> UnifiedAutomation.UaBase.AccessUtils.GetAccessRules ( string  filePath)
inlinestatic

Gets the application access rules implied by the access rights to the file.

static void UnifiedAutomation.UaBase.AccessUtils.SetAccessRules ( String  filePath,
IList< AccessRule accessRules,
bool  replaceExisting 
)
inlinestatic

Gets the application access rules implied by the access rights to the file.

static string UnifiedAutomation.UaBase.AccessUtils.SidToAccountName ( string  sid)
inlinestatic

Converts a SID to a user account name.


The documentation for this class was generated from the following file: