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
- descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
Return Value
Type: System.Boolean
True if this host owns SID, else false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.