Share via


Identity.MemberOf Property

Gets or sets an array of application groups an identity belongs to

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

Syntax

'Declaration
Public Property MemberOf As String()
'Usage
Dim instance As Identity 
Dim value As String()

value = instance.MemberOf

instance.MemberOf = value
public string[] MemberOf { get; set; }
public:
property array<String^>^ MemberOf {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
public function get MemberOf () : String[]
public function set MemberOf (value : String[])

Property Value

Type: array<System.String[]
An array of strings containing the group names. If the identity does not belong to any groups then null is returned.

.NET Framework Security

See Also

Reference

Identity Class

Identity Members

Microsoft.TeamFoundation.Server Namespace