SecurityWebService.SetAccessControlList Method

Places the access control lists specified into the security namespace.

Setting an access control list will always overwrite an existing access control list and its permissions if there is one. If inheritanceChange is true, only the inheritance values will be set for the access control lists.

Namespace:  Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub SetAccessControlList ( _
    namespaceId As Guid, _
    accessControlLists As List(Of AccessControlListDetails) _
)
[WebMethodAttribute]
public void SetAccessControlList(
    Guid namespaceId,
    List<AccessControlListDetails> accessControlLists
)
[WebMethodAttribute]
public:
void SetAccessControlList(
    Guid namespaceId, 
    List<AccessControlListDetails^>^ accessControlLists
)
[<WebMethodAttribute>]
member SetAccessControlList : 
        namespaceId:Guid * 
        accessControlLists:List<AccessControlListDetails> -> unit
public function SetAccessControlList(
    namespaceId : Guid, 
    accessControlLists : List<AccessControlListDetails>
)

Parameters

  • namespaceId
    Type: System.Guid

    The namespace to make these changes in.

.NET Framework Security

See Also

Reference

SecurityWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace