C# Class Opc.Ua.UserRoleManager

Manages a set of user roles.
Afficher le fichier Open project: OPCFoundation/UA-.NETStandardLibrary

Méthodes publiques

Méthode 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 méthode

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

EnumerateRoles() public méthode

Enumerates the available roles.
public EnumerateRoles ( ) : string[]
Résultat string[]

HasAccess() public méthode

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

UserRoleManager() public méthode

Initializes the manager to use the specified directory.
public UserRoleManager ( string directory ) : System
directory string
Résultat System