This documentation is archived and is not being maintained.

SecurityNamespace::HasWritePermission Method (String, IEnumerable<Int32>)

Checks whether the current user has authority to write the specified permissions.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
virtual Collection<bool>^ HasWritePermission(
	String^ token, 
	IEnumerable<int>^ permissionsToChange
) abstract

Parameters

token
Type: System::String

The token for which to check write permissions.

permissionsToChange
Type: System.Collections.Generic::IEnumerable<Int32>

The permission bits that the authorized user may want to change.

Return Value

Type: System.Collections.ObjectModel::Collection<Boolean>
A collection of results for the respective checks. True if the current user has the authority to change the specified permissions bits; otherwise, false.

Show: