|
RDOProfiles collection represents the
list of existing profiles for the current Windows user .
Returned by:
RDOSession.Profiles
The example below prints out the name
of the default profile and then lists all the existing profiles.
set Session =
CreateObject("Redemption.RDOSession")
Debug.Print("Default profile: " & Session.Profiles.DefaultProfileName)
Debug.Print("Profiles: ")
Debug.Print("------")
for each Name in Session.Profiles
Debug.Print(Name)
next |
Properties
Methods
|
Derived from:
IDispatch
|
|
Properties |
|
Count |
integer, read-only. Returns
the number of profiles.
|
|
DefaultProfileName |
string, read/write. Returns
or sets the default profile. |
set Session =
CreateObject("Redemption.RDOSession")
Session.Profiles.DefaultProfileName = "Test"
|
_Item(Index] |
Returns the name of the
profile with the given index (integer, 1 through Count). Default
property.
|
|
|
Methods |
|
Item(Index) |
Returns the name of the
profile with the given index (integer, 1 through Count) |
set Session =
CreateObject("Redemption.RDOSession")
set Profiles = Session.Profiles
for i = 1 to Profiles.Count
Debug.Print Profiles.Item(i)
next |
|
|