SecurityWebService.SetInheritFlag Method
Sets the inheritance flag on the access control list for the token.
Namespace: Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Sub SetInheritFlag ( _
namespaceId As Guid, _
token As String, _
inherits As Boolean _
)
[WebMethodAttribute]
public void SetInheritFlag(
Guid namespaceId,
string token,
bool inherits
)
[WebMethodAttribute]
public:
void SetInheritFlag(
Guid namespaceId,
String^ token,
bool inherits
)
[<WebMethodAttribute>]
member SetInheritFlag :
namespaceId:Guid *
token:string *
inherits:bool -> unit
public function SetInheritFlag(
namespaceId : Guid,
token : String,
inherits : boolean
)
Parameters
namespaceId
Type: System.GuidThe Id of the namespace you are setting the inherit flag in.
token
Type: System.StringThe security token that you are setting the inherit flag
inherits
Type: System.BooleanTrue if the token should inherit permissions, false otherwise.
.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.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.WebServices Namespace