C# Класс Opc.Ua.Configuration.AccountInfo

Stores information about an account.
Наследование: IComparable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ApplyFilters ( AccountFilters filters, IList accounts ) : IList

Applies the filters to the accounts.

ApplyFilters ( AccountFilters filters ) : bool

Applies the filters to the account

CompareTo ( object obj ) : int

Compares the obj.

Create ( string identityName ) : AccountInfo

Creates an account info object from an identity name.

CreateUser ( string username, string password ) : AccountInfo

Creates a new NT user account.

GetAccessRuleSource ( FileInfo file, FileSystemAccessRule inheritedRule ) : DirectoryInfo

Returns the directory that is the source for the specified access rule.

GetApplicationRights ( Opc accessType, FileSystemRights accessRights ) : ApplicationAccessRight

Returns the application rights implied by the file system rights.

GetIdentityReference ( ) : IdentityReference

Returns the identity reference for the account.

LookupAccountSid ( string accountName ) : string

Queries the SID table for the specified account name.

LookupDomainSid ( string domainName ) : string

Queries the SID table for the specified account name.

Query ( AccountFilters filters ) : IList

Queries the account table for the specified accounts.

ToString ( ) : string

Приватные методы

Метод Описание
NetUserAdd ( [ servername, int level, IntPtr buf, int &parm_err ) : int
NetUserSetInfo ( [ servername, [ username, int level, IntPtr buf, int &parm_err ) : int

Описание методов

ApplyFilters() публичный статический метод

Applies the filters to the accounts.
public static ApplyFilters ( AccountFilters filters, IList accounts ) : IList
filters AccountFilters
accounts IList
Результат IList

ApplyFilters() публичный метод

Applies the filters to the account
public ApplyFilters ( AccountFilters filters ) : bool
filters AccountFilters
Результат bool

CompareTo() публичный метод

Compares the obj.
public CompareTo ( object obj ) : int
obj object
Результат int

Create() публичный статический метод

Creates an account info object from an identity name.
public static Create ( string identityName ) : AccountInfo
identityName string
Результат AccountInfo

CreateUser() публичный статический метод

Creates a new NT user account.
public static CreateUser ( string username, string password ) : AccountInfo
username string
password string
Результат AccountInfo

GetAccessRuleSource() публичный статический метод

Returns the directory that is the source for the specified access rule.
public static GetAccessRuleSource ( FileInfo file, FileSystemAccessRule inheritedRule ) : DirectoryInfo
file System.IO.FileInfo
inheritedRule System.Security.AccessControl.FileSystemAccessRule
Результат System.IO.DirectoryInfo

GetApplicationRights() публичный статический метод

Returns the application rights implied by the file system rights.
public static GetApplicationRights ( Opc accessType, FileSystemRights accessRights ) : ApplicationAccessRight
accessType Opc
accessRights FileSystemRights
Результат ApplicationAccessRight

GetIdentityReference() публичный метод

Returns the identity reference for the account.
public GetIdentityReference ( ) : IdentityReference
Результат System.Security.Principal.IdentityReference

LookupAccountSid() публичный статический метод

Queries the SID table for the specified account name.
public static LookupAccountSid ( string accountName ) : string
accountName string
Результат string

LookupDomainSid() публичный статический метод

Queries the SID table for the specified account name.
public static LookupDomainSid ( string domainName ) : string
domainName string
Результат string

Query() публичный статический метод

Queries the account table for the specified accounts.
public static Query ( AccountFilters filters ) : IList
filters AccountFilters
Результат IList

ToString() публичный метод

public ToString ( ) : string
Результат string