Свойство | Тип | Описание | |
---|---|---|---|
CreatorOwner | |||
Everyone | |||
SYSTEM |
Метод | Описание | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Equals ( object obj ) : bool | ||||||||||||||||||||||
GetAccountName ( ) : string |
Return the sAMAccountName of this SID unless it could not be resolved in which case the numeric RID is returned. Return the sAMAccountName of this SID unless it could not be resolved in which case the numeric RID is returned. If this SID is a domain SID, this method will return an empty String. |
|||||||||||||||||||||
GetDomainName ( ) : string |
Return the domain name of this SID unless it could not be resolved in which case the numeric representation is returned. Return the domain name of this SID unless it could not be resolved in which case the numeric representation is returned. |
|||||||||||||||||||||
GetDomainSid ( ) : |
||||||||||||||||||||||
GetGroupMemberSids ( string authorityServerName, |
||||||||||||||||||||||
GetHashCode ( ) : int | ||||||||||||||||||||||
GetRid ( ) : int | ||||||||||||||||||||||
GetServerSid ( string server, |
||||||||||||||||||||||
GetType ( ) : int |
Returns the type of this SID indicating the state or type of account. Returns the type of this SID indicating the state or type of account. SID types are described in the following table.
|
|||||||||||||||||||||
GetTypeText ( ) : string |
Return text represeting the SID type suitable for display to users. Return text represeting the SID type suitable for display to users. Text includes 'User', 'Domain group', 'Local group', etc. |
|||||||||||||||||||||
Resolve ( string authorityServerName, |
Manually resolve this SID. Manually resolve this SID. Normally SIDs are automatically resolved. However, if a SID is constructed explicitly using a SID constructor, JCIFS will have no knowledge of the server that created the SID and therefore cannot possibly resolve it automatically. In this case, this method will be necessary. |
|||||||||||||||||||||
ResolveSids ( string authorityServerName, |
Resolve an array of SIDs using a cache and at most one MSRPC request. Resolve an array of SIDs using a cache and at most one MSRPC request. This method will attempt to resolve SIDs using a cache and cache the results of any SIDs that required resolving with the authority. SID cache entries are currently not expired because under normal circumstances SID information never changes. |
|||||||||||||||||||||
ResolveSids ( string authorityServerName, |
||||||||||||||||||||||
Sid ( Rpc sid, int type, string domainName, string acctName, bool decrementAuthority ) : System | ||||||||||||||||||||||
Sid ( |
Construct a SID from a domain SID and an RID (relative identifier). Construct a SID from a domain SID and an RID (relative identifier). For example, a domain SID S-1-5-21-1496946806-2192648263-3843101252 and RID 1029 would yield the SID S-1-5-21-1496946806-2192648263-3843101252-1029. |
|||||||||||||||||||||
Sid ( byte src, int si ) : System | ||||||||||||||||||||||
Sid ( string textual ) : System |
Construct a SID from it's textual representation such as S-1-5-21-1496946806-2192648263-3843101252-1029. Construct a SID from it's textual representation such as S-1-5-21-1496946806-2192648263-3843101252-1029. |
|||||||||||||||||||||
ToByteArray ( Rpc sid ) : byte[] | ||||||||||||||||||||||
ToDisplayString ( ) : string |
Return a String representing this SID ideal for display to users. Return a String representing this SID ideal for display to users. This method should return the same text that the ACL editor in Windows would display. Specifically, if the SID has been resolved and it is not a domain SID or builtin account, the full DOMAIN\name form of the account will be returned (e.g. MYDOM\alice or MYDOM\Domain Users). If the SID has been resolved but it is is a domain SID, only the domain name will be returned (e.g. MYDOM). If the SID has been resolved but it is a builtin account, only the name component will be returned (e.g. SYSTEM). If the sid cannot be resolved the numeric representation from toString() is returned. |
|||||||||||||||||||||
ToString ( ) : string |
Return the numeric representation of this sid such as S-1-5-21-1496946806-2192648263-3843101252-1029. Return the numeric representation of this sid such as S-1-5-21-1496946806-2192648263-3843101252-1029. |
Метод | Описание | |
---|---|---|
GetGroupMemberSids0 ( |
||
GetLocalGroupsMap ( string authorityServerName, |
This specialized method returns a Map of users and local groups for the target server where keys are SIDs representing an account and each value is an List |
|
ResolveSids ( |
||
ResolveSids0 ( string authorityServerName, |
||
ResolveWeak ( ) : void | ||
Sid ( ) : System |
public GetGroupMemberSids ( string authorityServerName, |
||
authorityServerName | string | |
auth | ||
flags | int | |
Результат | SharpCifs.Smb.Sid[] |
public static GetServerSid ( string server, |
||
server | string | |
auth | ||
Результат |
public Resolve ( string authorityServerName, |
||
authorityServerName | string | The FQDN of the server that is an authority for the SID. /// |
auth | Credentials suitable for accessing the SID's information. | |
Результат | void |
public static ResolveSids ( string authorityServerName, |
||
authorityServerName | string | The hostname of the server that should be queried. For maximum efficiency this should be the hostname of a domain controller however a member server will work as well and a domain controller may not return names for SIDs corresponding to local accounts for which the domain controller is not an authority. /// |
auth | The credentials that should be used to communicate with the named server. As usual, null indicates that default credentials should be used. /// | |
sids | The SIDs that should be resolved. After this function is called, the names associated with the SIDs may be queried with the toDisplayString, getDomainName, and getAccountName methods. /// | |
Результат | void |
public static ResolveSids ( string authorityServerName, |
||
authorityServerName | string | |
auth | ||
sids | ||
offset | int | |
length | int | |
Результат | void |
public Sid ( Rpc sid, int type, string domainName, string acctName, bool decrementAuthority ) : System | ||
sid | Rpc | |
type | int | |
domainName | string | |
acctName | string | |
decrementAuthority | bool | |
Результат | System |
public Sid ( |
||
domsid | ||
rid | int | |
Результат | System |
public static ToByteArray ( Rpc sid ) : byte[] | ||
sid | Rpc | |
Результат | byte[] |
public static Sid,SharpCifs.Smb CreatorOwner | ||
Результат |