Share via


TeamFoundationIdentity.MemberOfSet Property

IdentityDescriptors for groups containing this identity.

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

Syntax

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

Property Value

Type: array<Microsoft.VisualStudio.Services.Identity.IdentityDescriptor[]
Returns 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.Server.Core Namespace