Megosztás a következőn keresztül:


SecurityNamespace.HasPermission Method

Include Protected Members
Include Inherited Members

Checks whether the specified identity descriptor has the specified permissions.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method HasPermission(IEnumerable<String>, IdentityDescriptor, Int32, Boolean) Checks whether the specified identity descriptor has the specified permissions for the specified tokens.
Public method HasPermission(String, IdentityDescriptor, IEnumerable<Int32>, Boolean) Checks whether the specified identity descriptor has the specified permissions for the specified token.
Public method HasPermission(String, IdentityDescriptor, Int32, Boolean) Checks whether the specified identity descriptor has the specified permissions for the specified token.
Public method HasPermission(String, IEnumerable<IdentityDescriptor>, Int32, Boolean) Checks whether the specified identity descriptors have the specified permissions for the specified token.

Top

See Also

Reference

SecurityNamespace Class

Microsoft.TeamFoundation.Framework.Client Namespace