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.Guid

    The Id of the namespace you are setting the inherit flag in.

  • token
    Type: System.String

    The security token that you are setting the inherit flag

  • inherits
    Type: System.Boolean

    True if the token should inherit permissions, false otherwise.

.NET Framework Security

See Also

Reference

SecurityWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace