Esempio n. 1
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// Gets a User/Role
 /// </summary>
 /// <param name="PortalID">The Id of the Portal</param>
 /// <param name="UserId">The Id of the user</param>
 /// <param name="RoleId">The Id of the Role</param>
 /// <returns>A UserRoleInfo object</returns>
 /// <history>
 ///     [cnurse]	05/24/2005	Documented
 ///     [cnurse]    12/15/2005  Abstracted to MembershipProvider
 /// </history>
 /// -----------------------------------------------------------------------------
 public UserRoleInfo GetUserRole(int PortalID, int UserId, int RoleId)
 {
     return(provider.GetUserRole(PortalID, UserId, RoleId));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets a User/Role.
 /// </summary>
 /// <param name="portalId">The Id of the Portal.</param>
 /// <param name="userId">The Id of the user.</param>
 /// <param name="roleId">The Id of the Role.</param>
 /// <returns>A UserRoleInfo object.</returns>
 public UserRoleInfo GetUserRole(int portalId, int userId, int roleId)
 {
     return(provider.GetUserRole(portalId, userId, roleId));
 }