[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Interfaces=WindowsIdentity,IIdentity Info=Represents a Windows user. [Property] Name=Sets the name of the component. ARG(string)|2| Constructor=Sets the Constructor of the WindowsIdentity class. ARG(enum)|14|0|Constructor,Constructor2,Constructor3,Constructor4,Constructor5,Constructor6,Constructor7 AccountType=Sets the type of Windows account used. ARG(WindowsAccountType)|20|(empty)|WindowsAccountType UPN=Sets the User Principal Name (for example: user@domain.com) for the user on whose behalf the code is running. ARG(string)|2| IsAuthenticated=Sets the value to indicate that the user is authenticated. ARG(bool)|14|1|True,False IfImpersonating=Sets the value indicating whether to return the WindowsIdentity only if the thread is currently impersonating. ARG(bool)|14|1|True,False DesiredAccess=Sets the privileges of the user account associated with the access token. ARG(TokenAccessLevels)|20|(empty)|TokenAccessLevels UserToken=Defines the account token for the user on whose behalf the code is running. ARG(IntPtr)|20|(empty)|IntPtr [Methods] *doConstructor=Initializes a new instance of the WindowsIdentity class for the user represented by the specified Windows account token. ARG(IntPtr userToken)|1|0 *doConstructor2=Initializes a new instance of the WindowsIdentity class for the user represented by the specified User Principal Name. ARG(string upn)|1|0 *doConstructor3=Initializes a new instance of the WindowsIdentity class for the user represented by the specified Windows account token and the specified authentication type. ARG(IntPtr userToken, string type)|1|0 *doConstructor4=Initializes a new instance of the WindowsIdentity class for the user represented by information in a SerializationInfo stream. ARG(SerializationInfo info, StreamingContext context)|1|0 *doConstructor5=Initializes a new instance of the WindowsIdentity class for the user represented by the specified User Principal Name and the specified authentication type. ARG(string upn, string type)|1|0 *doConstructor6=Initializes a new instance of the WindowsIdentity class for the user represented by the specified Windows account token, the specified authentication type, and the specified Windows account type. ARG(IntPtr userToken, string type, WindowsAccountType accountType)|1|0 *doConstructor7=Initializes a new instance of the WindowsIdentity class for the user represented by the specified Windows account token, the specified authentication type, the specified Windows account type, and the specified authentication status. ARG(IntPtr userToken, string type, WindowsAccountType accountType, bool isAuthenticated)|1|0 *doDispose=Releases all resources used by the WindowsIdentity. ARG()|1|0 *doGetCurrent2=Returns a WindowsIdentity object that represents the Windows identity for either the thread or the process, depending on the value of the ifImpersonating parameter. ARG(bool ifImpersonating)|1|0 *doGetCurrent3=Returns a WindowsIdentity object that represents the current Windows user, using the specified desired token access level. ARG(TokenAccessLevels desiredAccess)|1|0 *doImpersonate2=Impersonates the user represented by the specified user token. ARG(IntPtr userToken)|1|0 *onGetCurrent=Occurs after invoke the method doGetCurrent and returns the result. ARG(WindowsIdentity)|2|0 *onImpersonate=Occurs after invoke the method doImpersonate and returns the result. ARG(WindowsImpersonationContext)|2|0 *AuthenticationType=Returns the type of authentication used to identify the user. ARG(string)|3|2 *GetAnonymous=Returns a WindowsIdentity object that represents an anonymous user. ARG(WindowsIdentity)|3|0 *GetCurrent=Returns a WindowsIdentity object that represents the current Windows user. ARG(WindowsIdentity)|3|0 *Groups=Returns the groups the current Windows user belongs to. ARG(IdentityReferenceCollection)|3|0 *Impersonate=Impersonates the user represented by the WindowsIdentity object. ARG(WindowsImpersonationContext)|3|0 *ImpersonationLevel=Returns the impersonation level for the user. ARG(TokenImpersonationLevel)|3|0 *IsAnonymous=Returns a value indicating whether the user account is identified as an anonymous account by the system. ARG(bool)|3|104 *.IsAuthenticated=Returns a value indicating whether the user has been authenticated by Windows. ARG(bool)|3|104 *IsGuest=Returns a value indicating whether the user account is identified as a Guest account by the system. ARG(bool)|3|104 *IsSystem=Returns a value indicating whether the user account is identified as a System account by the system. ARG(bool)|3|104 *Name=Returns the user's Windows logon name. ARG(string)|3|2 *Owner=Returns the security identifier for the token owner. ARG(SecurityIdentifier)|3|0 *Token=Returns the Windows account token for the user. ARG(IntPtr)|3|0 *User=Returns the security identifier for the user. ARG(SecurityIdentifier)|3|0 WindowsIdentity=Returns the WindowsIdentity object. ARG(WindowsIdentity)|3|0 *accountType=Defines the type of Windows account used. ARG(WindowsAccountType)|4|0 *context=Defines an object that indicates the stream characteristics. ARG(StreamingContext)|4|0 *desiredAccess=Defines the privileges of the user account associated with the access token. ARG(TokenAccessLevels)|4|0 *ifImpersonating=Defines the value indicating whether to return the WindowsIdentity only if the thread is currently impersonating. ARG(bool)|4|104 *info=Defines the object containing the account information for the user. ARG(SerializationInfo)|4|0 *isAuthenticated=Defines the value to indicate that the user is authenticated. ARG(bool)|4|104 *upn=Defines the UPN for the user on whose behalf the code is running. ARG(string)|4|2 *type=Defines (Informational use only.) The type of authentication used to identify the user. ARG(string)|4|2 *userToken=Defines the account token for the user on whose behalf the code is running. ARG(IntPtr)|4|0