Share via


TeamFoundationIdentity.MemberOfSet Property

Identity descriptors for groups that contain this identity.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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.TeamFoundation.Framework.Server.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.Framework.Server Namespace