C# 클래스 Opc.Ua.Configuration.AccountInfo

Stores information about an account.
상속: IComparable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
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