SecurityNamespace.SetInheritFlag Method
Sets a flag that states whether the AccessControlList that is associated with the specified token should inherit permissions from the parent tokens.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public MustOverride Sub SetInheritFlag ( _
token As String, _
inherit As Boolean _
)
public abstract void SetInheritFlag(
string token,
bool inherit
)
public:
virtual void SetInheritFlag(
String^ token,
bool inherit
) abstract
abstract SetInheritFlag :
token:string *
inherit:bool -> unit
public abstract function SetInheritFlag(
token : String,
inherit : boolean
)
Parameters
- token
Type: System.String
The token that is associated with the AccessControlList to set the inherit flag.
- inherit
Type: System.Boolean
True if it should inherit permissions from parent tokens; otherwise, 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.