Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Contains the loaded profile data.
Sys.Services.ProfileService.properties.FieldName;
Remarks
You can access the loaded profile data directly from the properties field.
Note
An element in the properties field can be a property group of type ProfileGroup. If it is, the related properties appear as sub-properties. For more information, see Sys.Services.ProfileGroup Class.
Example
The following example shows how to use the properties field to access the currently authenticated user's profile data. This code is part of a complete example found in the Sys.Services.ProfileService class overview.
Sys.Services.ProfileService.properties.Backgroundcolor =
GetElementById("bgcolor").value;
Sys.Services.ProfileService.properties.Foregroundcolor =
GetElementById("fgcolor").value;