Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Modifies an item's security information.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function UpdateItemSecurity ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
workspaceOwner As String, _
changes As SecurityChange() _
) As TeamFoundationDataReader
public TeamFoundationDataReader UpdateItemSecurity(
TeamFoundationRequestContext requestContext,
string workspaceName,
string workspaceOwner,
SecurityChange[] changes
)
public:
TeamFoundationDataReader^ UpdateItemSecurity(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ workspaceOwner,
array<SecurityChange^>^ changes
)
member UpdateItemSecurity :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
workspaceOwner:string *
changes:SecurityChange[] -> TeamFoundationDataReader
public function UpdateItemSecurity(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
workspaceOwner : String,
changes : SecurityChange[]
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringThe name of the workspace, if local paths are specified. May be null.
workspaceOwner
Type: System.StringThe owner of the workspace. May be null.
changes
Type: array<Microsoft.TeamFoundation.VersionControl.Server.SecurityChange[]Array of changes to apply.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: SecurityChange[] - Array of successful changes. Failure[] - Failures that occur applying each change.
.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.