TeamFoundationSecurityNamespace.SetPermissions Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function SetPermissions ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
descriptor As IdentityDescriptor, _
allow As Integer, _
deny As Integer, _
merge As Boolean _
) As AccessControlEntry
public AccessControlEntry SetPermissions(
TeamFoundationRequestContext requestContext,
string token,
IdentityDescriptor descriptor,
int allow,
int deny,
bool merge
)
public:
AccessControlEntry^ SetPermissions(
TeamFoundationRequestContext^ requestContext,
String^ token,
IdentityDescriptor^ descriptor,
int allow,
int deny,
bool merge
)
member SetPermissions :
requestContext:TeamFoundationRequestContext *
token:string *
descriptor:IdentityDescriptor *
allow:int *
deny:int *
merge:bool -> AccessControlEntry
public function SetPermissions(
requestContext : TeamFoundationRequestContext,
token : String,
descriptor : IdentityDescriptor,
allow : int,
deny : int,
merge : boolean
) : AccessControlEntry
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
- descriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
- allow
Type: System.Int32
- deny
Type: System.Int32
- merge
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControlEntry
.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.