BuildMaster SDK Reference
Version:

GetEffectivePrivileges(Inedo.BuildMaster.Extensibility.UserDirectories.IUserDirectoryUser user, int applicationId, int environmentId) Method

Returns a sequence of tasks which the user is allowed to perform in the specified context.

Syntax

public IEnumerable<SecuredTask> GetEffectivePrivileges(Inedo.BuildMaster.Extensibility.UserDirectories.IUserDirectoryUser user, int applicationId, int environmentId)

Parameters

user
Type: Inedo.BuildMaster.Extensibility.UserDirectories.IUserDirectoryUser

The user to evaluate privileges for.

applicationId
Type: int

The current application ID in scope.

environmentId
Type: int

The current environment ID in scope.

Returns

Sequence of permitted tasks.

Remarks

This method is for informational purposes only and is not optimized for performance.