TeamFoundationIdentity.MemberOf Property

IdentityDescriptors for groups containing this identity.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Property MemberOf As IdentityDescriptor()
public IdentityDescriptor[] MemberOf { get; set; }
public:
property array<IdentityDescriptor^>^ MemberOf {
    array<IdentityDescriptor^>^ get ();
    void set (array<IdentityDescriptor^>^ value);
}
member MemberOf : IdentityDescriptor[] with get, set
function get MemberOf () : IdentityDescriptor[]
function set MemberOf (value : IdentityDescriptor[])

Property Value

Type: array<Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor[]

Remarks

The identity must be read with MembershipQuery.Direct or MembershipQuery.Expanded for this collection to be populated.

If MembershipQuery.None is used, the collection will be empty.

.NET Framework Security

See Also

Reference

TeamFoundationIdentity Class

Microsoft.TeamFoundation.Framework.Client Namespace