Partager via


Identity Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Identity.Identity

Namespace:  Microsoft.VisualStudio.Services.Identity
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
<DataContractAttribute> _
Public NotInheritable Class Identity
[DataContractAttribute]
public sealed class Identity
[DataContractAttribute]
public ref class Identity sealed
[<Sealed>]
[<DataContractAttribute>]
type Identity =  class end
public final class Identity

The Identity type exposes the following members.

Constructors

  Name Description
Public method Identity

Top

Properties

  Name Description
Public property CustomDisplayName
Public property Descriptor
Public property DisplayName
Public property Id
Public property IsActive
Public property IsContainer
Public property MemberOf
Public property Members
Public property Properties
Public property ProviderDisplayName
Public property UniqueUserId

Top

Methods

  Name Description
Public method Clone
Public method Equals (Overrides Object.Equals(Object).)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetProperty<T>
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method SetProperty
Public method ToString (Overrides Object.ToString().)
Public method TryGetProperty

Top

Extension Methods

  Name Description
Public Extension Method GetModifiedProperties (Defined by IdentityExtensions.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Services.Identity Namespace