-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark user properties
userType
and memberOf
as read-only
We don't want 'userType' to be set on POST/PATCH requests for now. Currenly users with a type different from 'Member' are created either via ocm or via graph invite requests. See: owncloud/ocis#9858 for details Also 'memberOf' is a read-only relation in MS Graph.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,12 @@ Name | Type | Description | Notes | |
**drive** | [**\OpenAPI\Client\Model\Drive**](Drive.md) | | [optional] | ||
**identities** | [**\OpenAPI\Client\Model\ObjectIdentity[]**](ObjectIdentity.md) | Identities associated with this account. | [optional] | ||
**mail** | **string** | The SMTP address for the user, for example, '[email protected]'. Returned by default. | [optional] | ||
**member_of** | [**\OpenAPI\Client\Model\Group[]**](Group.md) | Groups that this user is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. | [optional] | ||
**member_of** | [**\OpenAPI\Client\Model\Group[]**](Group.md) | Groups that this user is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. | [optional] [readonly] | ||
**on_premises_sam_account_name** | **string** | Contains the on-premises SAM account name synchronized from the on-premises directory. | | ||
**password_profile** | [**\OpenAPI\Client\Model\PasswordProfile**](PasswordProfile.md) | | [optional] | ||
**surname** | **string** | The user's surname (family name or last name). Returned by default. | [optional] | ||
**given_name** | **string** | The user's givenName. Returned by default. | [optional] | ||
**user_type** | **string** | The user`s type. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance. | [optional] | ||
**user_type** | **string** | The user`s type. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance. | [optional] [readonly] | ||
**preferred_language** | **string** | Represents the users language setting, ISO-639-1 Code | [optional] | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,12 @@ Name | Type | Description | Notes | |
**drive** | [**\OpenAPI\Client\Model\Drive**](Drive.md) | | [optional] | ||
**identities** | [**\OpenAPI\Client\Model\ObjectIdentity[]**](ObjectIdentity.md) | Identities associated with this account. | [optional] | ||
**mail** | **string** | The SMTP address for the user, for example, '[email protected]'. Returned by default. | [optional] | ||
**member_of** | [**\OpenAPI\Client\Model\Group[]**](Group.md) | Groups that this user is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. | [optional] | ||
**member_of** | [**\OpenAPI\Client\Model\Group[]**](Group.md) | Groups that this user is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. | [optional] [readonly] | ||
**on_premises_sam_account_name** | **string** | Contains the on-premises SAM account name synchronized from the on-premises directory. | [optional] | ||
**password_profile** | [**\OpenAPI\Client\Model\PasswordProfile**](PasswordProfile.md) | | [optional] | ||
**surname** | **string** | The user's surname (family name or last name). Returned by default. | [optional] | ||
**given_name** | **string** | The user's givenName. Returned by default. | [optional] | ||
**user_type** | **string** | The user`s type. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance. | [optional] | ||
**user_type** | **string** | The user`s type. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance. | [optional] [readonly] | ||
**preferred_language** | **string** | Represents the users language setting, ISO-639-1 Code | [optional] | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |