예제 #1
0
 /// <summary>
 /// <param name="userFullName">User FullName</param>
 /// <returns>NetName for a particular fullname</returns>
 public static CommentsData LoginConfigDetails(string ConfigName)
 {
     return(MainWorkItem.LoginConfigDetails(ConfigName));
 }
예제 #2
0
 /// <summary>
 /// Method To Validate The User
 /// </summary>
 /// <param name="userName">userName to Validate</param>
 /// <param name="password">password to Validate</param>
 /// <param name="domainName">domainName to Validate</param>
 /// <param name="authenticationState">if set to <c>true</c> [authentication state].</param>
 /// <returns>returns the login status</returns>
 public static string ValidateUser(string userName, string password, string domainName, bool authenticationState)
 {
     return(MainWorkItem.AuthorizeUser(userName, password, domainName, authenticationState));
 }
예제 #3
0
 /// <summary>
 /// <param name="userFullName">User FullName</param>
 /// <returns>NetName for a particular fullname</returns>
 public static DataSet GetUserNetName(string userFullName)
 {
     return(MainWorkItem.GetUserNetName(userFullName));
 }
예제 #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="userId"></param>
 /// <returns></returns>
 public static DataSet GetFormPermissions(int userId, int applicationId)
 {
     return(MainWorkItem.GetFormPermissions(userId, applicationId));
 }