'Declaration
Public NotInheritable Class SecurityLogin Inherits SecurityEntity
public sealed class SecurityLogin : SecurityEntity
public ref class SecurityLogin sealed : public SecurityEntity
'Declaration
Public NotInheritable Class SecurityLogin Inherits SecurityEntity
public sealed class SecurityLogin : SecurityEntity
public ref class SecurityLogin sealed : public SecurityEntity
A login generally represents an individual user, but it can be a "template" login used to automatically create new logins for users based on Windows security group membership.
Users can be authenticated using either integrated (automatic) Windows authentication, or adTempus-based authentication with a user ID and password. Both models can be used in the same adTempus instance.
To use Windows authentication to automatically authenticate users, set the LoginType to ArcanaDevelopment.adTempus.Shared.LoginType.WindowsUser. Set the WindowsSid to the SID of the user's Windows account (Scheduler.ResolveSecurityNames or Scheduler.ResolveSecurityName can be used to look up security accounts on the Windows server). The Name should be set to the user's user ID (including domain) but this is for display purposes only--adTempus uses the SID for identification and authentication.
No password is set when using Windows authentication
For adTempus authentication, the user ID and password are defined in adTempus and authentication is not managed by Windows. To use adTempus authentication set the LoginType to ArcanaDevelopment.adTempus.Shared.LoginType.adTempusUser. Set the Name to the name (user ID) the user will use to log in, and set a password for the user.
To create a template login set the LoginType to ArcanaDevelopment.adTempus.Shared.LoginType.WindowsGroup and set the WindowsSid to the SID of the Windows security group that will be used to perform authentication. When a user tries to connect to adTempus for the first time, adTempus checks to see if they belong to the specified Windows group. If so a new SecurityLogin is created automatically for the user with the LoginType set to LoginType.WindowsGroupMember. All permissions and role memberships from the template login are copied to the new login for the user.
System.Object
ArcanaDevelopment.adTempus.Client.ObjectBase
ArcanaDevelopment.adTempus.Client.ADTObject
ArcanaDevelopment.adTempus.Client.ADTIndependentObject
ArcanaDevelopment.adTempus.Client.SecurityEntity
ArcanaDevelopment.adTempus.Client.SecurityLogin