Authorization (ISecurity Interface) |
Gets availability information and internal authentication settings for the specified user.
Category: Internal authentication methods
Interface version: ISecurity 1.1
Syntax |
GetInternalLoginUserInfo(personName,hasInternalLogin,isDisabled,bypassStrength, bypassHistory,useStdExpirationDays,expirationDays,bypassLockout, bypassInactivitySuspension,doesAccountExpire,accountExpirationDate, lastPasswordChange,lastLogin,numFailuresSinceLogin, lastLockout,isLockedOut,isExpired,isSuspend,isAccountExpired);
Parameters |
Details |
Except for PERSONNAME, parameters are holders for receiving output values.
If an internal user account suddenly becomes unavailable, use the GetInternalLoginUserInfo method to determine why the account is unavailable. In addition to returning the specified Person object's internal authentication policy settings, output parameters indicate whether the account is active, disabled, expired, locked out because of unsuccessful authentication, or suspended because of inactivity.
Exceptions Thrown |
The GetInternalLoginUserInfo method does not return any exceptions.
Examples |
The following is a Java example of a GetInternalLoginUserInfo method call:
// Assumes a Person object with Name='Test1' exists // and has an InternalLogin object associated with it String personName ="Test1"'; BooleanHolder hasInternalLogin = new BooleanHolder(); BooleanHolder isDisabled = new BooleanHolder(); BooleanHolder bypassStrength = new BooleanHolder(); BooleanHolder bypassHistory = new BooleanHolder(); BooleanHolder useStdExpirationDays = new BooleanHolder(); IntHolder expirationDays = new IntHolder(); BooleanHolder bypassLockout = new BooleanHolder(); BooleanHolder bypassInactivitySuspension = new BooleanHolder(); BooleanHolder doesAccountExpire = new BooleanHolder(); DateTimeHolder accountExpirationDate = new DateTimeHolder(); DateTimeHolder lastPasswordChange = new DateTimeHolder(); DateTimeHolder lastLogin = new DateTimeHolder(); IntHolder numFailuresSinceLogin = new IntHolder(); DateTimeHolder lastLockout = new DateTimeHolder(); BooleanHolder isLockedOut = new BooleanHolder(); BooleanHolder isExpired = new BooleanHolder(); BooleanHolder isSuspended = new BooleanHolder(); BooleanHolder isAccountExpired = new BooleanHolder(); GetInternalLoginUserInfo( personName, hasInternalLogin, isDisabled, bypassStrength, bypassHistory, useStdExpirationDays, expirationDays, bypassLockout, bypassInactivitySuspension, doesAccountExpire, accountExpirationDate, lastPasswordChange, lastLogin, numFailuresSinceLogin, lastLockout, isLockedOut, isExpired, isSuspended, isAccountExpired );
Related Methods |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.