FullPermissionSetForwarderBase.SetPermissions Method
Converts all of the ACEs to catalog ACEs and sets them in the catalog namespace.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function SetPermissions ( _
requestContext As TeamFoundationRequestContext, _
notificationType As NotificationType, _
sourceToken As String, _
sourceAces As IEnumerable(Of AccessControlEntry), _
merge As Boolean _
) As Boolean
public virtual bool SetPermissions(
TeamFoundationRequestContext requestContext,
NotificationType notificationType,
string sourceToken,
IEnumerable<AccessControlEntry> sourceAces,
bool merge
)
public:
virtual bool SetPermissions(
TeamFoundationRequestContext^ requestContext,
NotificationType notificationType,
String^ sourceToken,
IEnumerable<AccessControlEntry^>^ sourceAces,
bool merge
)
abstract SetPermissions :
requestContext:TeamFoundationRequestContext *
notificationType:NotificationType *
sourceToken:string *
sourceAces:IEnumerable<AccessControlEntry> *
merge:bool -> bool
override SetPermissions :
requestContext:TeamFoundationRequestContext *
notificationType:NotificationType *
sourceToken:string *
sourceAces:IEnumerable<AccessControlEntry> *
merge:bool -> bool
public function SetPermissions(
requestContext : TeamFoundationRequestContext,
notificationType : NotificationType,
sourceToken : String,
sourceAces : IEnumerable<AccessControlEntry>,
merge : boolean
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- notificationType
Type: Microsoft.TeamFoundation.Framework.Server.NotificationType
- sourceToken
Type: System.String
- sourceAces
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
- merge
Type: System.Boolean
Return Value
Type: System.Boolean
.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.