Mishra,
What customization are you trying to do with this dialog? In my last response I indicated how to create custom dialogs in general.
You can access user information through the Globals.Security object. For example, the following code checks if logged in user is in a specific group:
Code:
public bool hasAccess(string reqGroup)
{
string curUser = Globals.Security.CurrentUser;
if (string.IsNullOrEmpty(curUser)) return false;
foreach (ISecurityUser user in Globals.Security.Users)
{
if (user.Username == curUser)
{
foreach (ISecurityGroup sgroup in user.SecurityGroups)
{
if (sgroup.GroupName == reqGroup) return true;
}
return false;
}
}
return false;
}