This topic has not yet been rated - Rate this topic

IAuthorizationService.ReplaceAccessControlList Method

Replaces an existing ACE on an object with the supplied one.

Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in microsoft.teamfoundation.dll)

void ReplaceAccessControlList (
	string objectId,
	AccessControlEntry[] acl
)
void ReplaceAccessControlList (
	String objectId, 
	AccessControlEntry[] acl
)
function ReplaceAccessControlList (
	objectId : String, 
	acl : AccessControlEntry[]
)

Parameters

objectId

The unique object identifier supplied by the caller. A URI (for artifacts) or a GUID (for all other objects) is recommended.

acl

The ACE that will replace the previous ACE.

This does not affect the inherited permissions. If ace.Inherited is set to True, calling this method has no effect.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ