The Membership type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Membership |
Initializes a new instance of the Membership class
|
Methods
Name | Description | |
---|---|---|
GetAdObjectGuid |
Returns Active Directory object GUID (by default AD membership provider uses string SIDs instead of GUIDs).
|
|
GetPrincipalContext |
Instantiates an ActiveDirectory PrincipalContext based on the server, username and password data from the ActiveDirectoryConfiguration section in the config file (impersonation is used if no username and data are provided in the config file).
|
|
GetProviderUserKey()()()() |
Retrieves provider user key for a current user.
|
|
GetProviderUserKey(String) |
Retrieves provider user key for a user with specified user name.
|
|
GetProviderUserKey(String, CacheManager) |
Retrieves provider user key for a user with specified user name.
|
|
InvalidateProviderUserKey |
Invalidates the provider user key cache for a user with specified user name.
|
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
ProviderUserKeyCacheKey |
Provider user key used as a cache key for storing user data to the cache.
|