Share via


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.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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.Server.Core.WebServices Namespace