public static final class User.LogOnPolicy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static User.LogOnPolicy[] |
ALL
All legal access policies
|
static User.LogOnPolicy |
ALWAYS
Always Allowed to Access
|
static User.LogOnPolicy |
CUSTOM
Custom Access Policy
|
static User.LogOnPolicy |
STANDARD
Standard Access Policy
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares this object with another logon policy for equality
|
static User.LogOnPolicy |
fromID(int id)
Gets the Policy value corresponding to the given ID.
|
int |
getID()
The ID of the corresponding Policy
|
java.lang.String |
getName()
A friendly name for this logon policy
|
int |
hashCode()
Returns a hashCode for this logon policy
|
public static final User.LogOnPolicy ALWAYS
public static final User.LogOnPolicy STANDARD
public static final User.LogOnPolicy CUSTOM
User.getAccessPolicy()
,
User.setAccessPolicy(com.starteam.User.LogOnPolicy)
,
User.getAccessStartTime1(com.starteam.User.DayOfWeek)
,
User.getAccessEndTime1(com.starteam.User.DayOfWeek)
,
User.getAccessStartTime2(com.starteam.User.DayOfWeek)
,
User.getAccessEndTime2(com.starteam.User.DayOfWeek)
,
User.setAccessTimes(com.starteam.User.DayOfWeek, int, int, int, int)
,
User.getPolicyTimeZoneShift()
,
User.setPolicyTimeZoneShift(int)
public static final User.LogOnPolicy[] ALL
public java.lang.String getName()
public int getID()
public static User.LogOnPolicy fromID(int id)
id
- A Policy ID.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the Object to comparepublic int hashCode()
hashCode
in class java.lang.Object
StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.