C# Class Opc.Ua.UserRoleManager

Manages a set of user roles.
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary

Public Methods

Method Description
DeleteRole ( string directory, string roleName ) : void

Deletes a user role file.

EnumerateRoles ( ) : string[]

Enumerates the available roles.

HasAccess ( string template ) : bool

Returns true if the current Windows user has access to the the specified template.

UserRoleManager ( string directory ) : System

Initializes the manager to use the specified directory.

Method Details

DeleteRole() public static method

Deletes a user role file.
public static DeleteRole ( string directory, string roleName ) : void
directory string
roleName string
return void

EnumerateRoles() public method

Enumerates the available roles.
public EnumerateRoles ( ) : string[]
return string[]

HasAccess() public method

Returns true if the current Windows user has access to the the specified template.
public HasAccess ( string template ) : bool
template string
return bool

UserRoleManager() public method

Initializes the manager to use the specified directory.
public UserRoleManager ( string directory ) : System
directory string
return System