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.GuidThe namespace to make these changes in.
accessControlLists
Type: System.Collections.Generic.List<AccessControlListDetails>The access control lists to set.
.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.