UserInfo Class

Represents information about a local user or a domain user (e.g., from Active Directory).

Definition

Namespace: Gemstone.Identity
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
public sealed class UserInfo
Inheritance
Object    UserInfo

Constructors

UserInfo Initializes a new instance of the UserInfo class.

Properties

accountName Gets the user name of the user.
CurrentUserID Gets the ID name of the current user.
CurrentUserInfo Gets the UserInfo object for the CurrentUserID.
Domain Gets the domain for the user.
LdapID Gets the ID of the user in LDAP format.
LoginID Gets the Login ID of the user.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GroupNameToSID Converts the given group name to the SID corresponding to that name.
IsGroupSID Determines whether the given security identifier identifies a group.
IsLocalDomain Determines if specified domain is the local domain (i.e., local machine).
IsUserSID Determines whether the given security identifier identifies a user account.
ToStringReturns a string that represents the current object.
(Inherited from Object)
UserNameToSID Converts the given user name to the SID corresponding to that name.

Fields

BuiltInGroupName Localized version of Windows "BUILTIN" local permissions group name.
NTAuthorityGroupName Localized version of Windows "NT AUTHORITY" local permissions group name.
NTServiceGroupName Localized version of Windows "NT SERVICE" local Windows services group name.

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also