PublicAPI.Portal.Security.OrganizationItem.GetSubordinateByUser ELMA API Documentation
Get the user subordinates
 
 
Syntax

public IEnumerable<User> GetSubordinateByUser(
	User user
)

Parameters

user
Type: User
User. Object. Access path: PublicAPI.Portal.Security.User

Return Value

Type: IEnumerable User 
List of the user subordinates
Examples

//load the user by ID 
var user = PublicAPI.Portal.Security.User.Load(3);

//get the list of the user subordinates 
var userList = PublicAPI.Portal.Security.OrganizationItem.GetSubordinateByUser(user);

//userList - obtained list of the user subordinates
See Also