public IEnumerable<User> GetSubordinateByUser( User user )
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 UserList 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