套件 | lc.foundation |
類別 | public class UserManager |
繼承 | UserManager Manager |
實作 | IUserManager |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
UserManager
class is the standard implementation of the
IUserManager
interface.
方法 | 定義自 | ||
---|---|---|---|
UserManager(session:SessionMap)
Constructor. | UserManager | ||
Retrieves the groups that match the specified substring. | UserManager | ||
Retrieves the users that match the specified substring. | UserManager | ||
findUsersInGroup(groupOid:String, commonNameFilter:String = null):lc.foundation.util:CollectionToken
Retrieves a list of users who have a common name, who are members in the group specified by the group's OID. | UserManager | ||
findUsersWithPermission(commonNameFilter:String, serviceName:String):lc.foundation.util:CollectionToken
Retrieves the users that match the specified substring and have invoke
permissions to the service. | UserManager |
常數 | 定義自 | ||
---|---|---|---|
MSG_GET_GROUPS_ERROR : String = "ALC-WKS-007-121" [靜態]
A special value that specifies an error occurred retrieving group information. | UserManager | ||
SESSION_KEY : String = "lc.foundation.IUserManager" [靜態]
A special value that specifies the manager key name in the SessionMap object. | UserManager |
UserManager | () | 建構函式 |
public function UserManager(session:SessionMap)
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
參數session:SessionMap — Specifies the location of the server URL. If the URL is a value of
null , the default is to access the Document Server at the
same location where Workspace SWF file is loaded from.
|
findGroups | () | 方法 |
public function findGroups(commonNameFilter:String):lc.foundation.util:CollectionToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the groups that match the specified substring. The matching is performed against the display name of the group. For example, "ample" would match groups named SampleOrganization. Matching is not case-sensitive.
參數
commonNameFilter:String — Specifies a substring to match.
|
lc.foundation.util:CollectionToken — A token containing a collection of Group objects
when the request completes. Set result and fault handlers on the
token that executes when the invocation completes and the collection
is populated.
|
findUsers | () | 方法 |
public function findUsers(commonNameFilter:String):lc.foundation.util:CollectionToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the users that match the specified substring. A match is made against the display name of the user. For example, "ikira" would match "Akira Tanaka". Matching is not case-sensitive.
參數
commonNameFilter:String — Specifies a substring to match.
|
lc.foundation.util:CollectionToken — A token containing a collection of User objects
when the request completes. Set result and fault handlers on
the token that executes when the invocation completes and the
collection is populated.
|
findUsersInGroup | () | 方法 |
public function findUsersInGroup(groupOid:String, commonNameFilter:String = null):lc.foundation.util:CollectionToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a list of users who have a common name, who are members in the group specified by the group's OID.
If the commonNamePattern
parameter is not supplied, it will return the users who are members
of the group specified by the groupOID
parameter.
參數
groupOid:String — Specifies the OID of the group.
| |
commonNameFilter:String (default = null ) — Specifies the common name of the user(s). The default is null .
|
lc.foundation.util:CollectionToken — A token containing a collection of User objects when the request
completes. Set result and fault handlers on the
token that executes when the invocation completes and the collection is populated.
|
findUsersWithPermission | () | 方法 |
public function findUsersWithPermission(commonNameFilter:String, serviceName:String):lc.foundation.util:CollectionToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the users that match the specified substring and have invoke permissions to the service. The matching is performed against the display name of the user. For example, ikira would match Akira Tanaka. Matching is not case sensitive.
參數
commonNameFilter:String — Specifies a substring to match.
| |
serviceName:String — Specifies the service name.
|
lc.foundation.util:CollectionToken — A token containing a collection of User objects
when the request completes. Set result and fault handlers on the
token that executes when the invocation completes and the collection is populated.
|
MSG_GET_GROUPS_ERROR | 常數 |
public static const MSG_GET_GROUPS_ERROR:String = "ALC-WKS-007-121"
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies an error occurred retrieving group information.
SESSION_KEY | 常數 |
public static const SESSION_KEY:String = "lc.foundation.IUserManager"
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies the manager key name in the SessionMap
object.
Tue Jun 12 2018, 03:47 PM Z