Users
Updates, deletes, and queries Users from SharePoint.
テーブル固有の情報
Select
SharePoint Account のために作成されたすべてのユーザーを取得する:
SELECT * FROM Users
1つのグループに所属するすべてのユーザーを取得することも可能です。その場合には、Group Name を指定します。
SELECT * FROM Users WHERE [Group] = "GroupName"
指定されたロールを持つユーザーを取得することも可能です。その場合には、Role Name を指定します。
SELECT * FROM Users WHERE [Role] = "RoleName"
Columns
Name | Type | ReadOnly | Description |
ID | String | True |
The Id of the user. |
LoginName# [KEY] | String | False |
The login name of the user. |
Name# | String | False |
The name of the user. |
Email# | String | False |
The email address of the user. |
IsInDomainGroup | Boolean | True |
A boolean indicating if the user is in the domain group. |
IsSiteAdmin | Boolean | True |
A boolean indicating if the user is a site admin. |
Notes# | String | False |
Optional notes concerning the user. |
SecurityId | String | True |
The security Id (SID) for the user. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Group | String |
The group you are adding a user to and selecting or deleting the user from. This is an input-only value and you must specify either Group or Role for inserts and selects, but you can optionally specify deletions. |
Role | String |
The role you are adding a user to and selecting or deleting the user from. This is an input-only value and you must specify either Group or Role for inserts and selects, but but you can optionally specify deletions. |