Share via


Identity.Type Property

Gets or sets the type of an identity

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)

Syntax

'Declaration
Public Property Type As IdentityType
'Usage
Dim instance As Identity 
Dim value As IdentityType 

value = instance.Type

instance.Type = value
public IdentityType Type { get; set; }
public:
property IdentityType Type {
    IdentityType get ();
    void set (IdentityType value);
}
public function get Type () : IdentityType 
public function set Type (value : IdentityType)

Property Value

Type: Microsoft.TeamFoundation.Server.IdentityType
An IdentityType object containing the type of the identity.

Remarks

The following values of Type are supported:

Type

Description

WindowsUser

A Windows User defined on the local computer's SAM or an Active Directory User

WindowsGroup

A Windows Group defined on the local computer's SAM or an Active Directory Security Group

ApplicationGroup

An Application Group defined and only having meaning within the context of a Team System server.

UnknownIdentityType

An Active Directory object that doesn't fall under the WindowsUser or WindowsGroup types. Examples include AD computer or printer objects.

InvalidIdentity

Not used

NonChachedIdentity

Not used

.NET Framework Security

See Also

Reference

Identity Class

Identity Members

Microsoft.TeamFoundation.Server Namespace