TeamFoundationSecurityNamespace.SetAccessControlLists Method (TeamFoundationRequestContext, IEnumerable<AccessControlList>)
Sets the AccessControlLists specified in the SecurityNamespace. Setting an AccessControlList will always overwrite an existing AccessControlList if one exists.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetAccessControlLists ( _
requestContext As TeamFoundationRequestContext, _
accessControlLists As IEnumerable(Of AccessControlList) _
)
public void SetAccessControlLists(
TeamFoundationRequestContext requestContext,
IEnumerable<AccessControlList> accessControlLists
)
public:
void SetAccessControlLists(
TeamFoundationRequestContext^ requestContext,
IEnumerable<AccessControlList^>^ accessControlLists
)
member SetAccessControlLists :
requestContext:TeamFoundationRequestContext *
accessControlLists:IEnumerable<AccessControlList> -> unit
public function SetAccessControlLists(
requestContext : TeamFoundationRequestContext,
accessControlLists : IEnumerable<AccessControlList>
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for the current request.
accessControlLists
Type: System.Collections.Generic.IEnumerable<AccessControlList>The AccessControlLists to set in the SecurityNamespace.
.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
TeamFoundationSecurityNamespace Class