Class ConvertSidUserKey
Supports membership providers with System.Security.Principal.SecurityIdentifier values for ProviderUserKey.
Inheritance
System.Object
ConvertSidUserKey
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Customers
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class ConvertSidUserKey : IUserKeyConverter
Constructors
ConvertSidUserKey()
Declaration
public ConvertSidUserKey()
Properties
ForType
Returns the System.Type for System.Security.Principal.SecurityIdentifier.
Declaration
public Type ForType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
ConvertToString(Object)
Converts the user key to a string.
Declaration
public string ConvertToString(object userKey)
Parameters
Type | Name | Description |
---|---|---|
System.Object | userKey | The provider user key. |
Returns
Type | Description |
---|---|
System.String | A string representation of the user key. |
ConvertToUserKey(String)
Converts a string to a provider user key.
Declaration
public object ConvertToUserKey(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The provider user key. |
Returns
Type | Description |
---|---|
System.Object | The provider user key. |