Delen via


IdentityDomain.IsOwner Method

Checks if the given descriptor is of TeamFoundation type, and belongs to this IMS host. This does not confirm that such a group actually exists, just that the Sid pattern belongs to this host.

Namespace:  Microsoft.VisualStudio.Services.Identity
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function IsOwner ( _
    descriptor As IdentityDescriptor _
) As Boolean
public bool IsOwner(
    IdentityDescriptor descriptor
)
public:
bool IsOwner(
    IdentityDescriptor^ descriptor
)
member IsOwner : 
        descriptor:IdentityDescriptor -> bool
public function IsOwner(
    descriptor : IdentityDescriptor
) : boolean

Parameters

Return Value

Type: System.Boolean
True if this host owns SID, else false.

.NET Framework Security

See Also

Reference

IdentityDomain Class

Microsoft.VisualStudio.Services.Identity Namespace