TeamFoundationSecurityNamespace.SetInheritFlag Method
Sets whether an AccessControlList should inherit permissions from its parents.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetInheritFlag ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
inherit As Boolean _
)
public void SetInheritFlag(
TeamFoundationRequestContext requestContext,
string token,
bool inherit
)
public:
void SetInheritFlag(
TeamFoundationRequestContext^ requestContext,
String^ token,
bool inherit
)
member SetInheritFlag :
requestContext:TeamFoundationRequestContext *
token:string *
inherit:bool -> unit
public function SetInheritFlag(
requestContext : TeamFoundationRequestContext,
token : String,
inherit : boolean
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for the current request.
token
Type: System.StringThe token for the AccessControlList to set the inherit flag on.
inherit
Type: System.BooleanTrue if it should inherit permissions.
.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.