.NET Based OPC UA Client/Server SDK  3.1.3.516
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)
static

Converts a user account name to a SID.

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

Returns the application rights implied by the file system rights.

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

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 
)
static

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

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

Converts a SID to a user account name.


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